WP_Defender\Component\Config\Config_Hub_Helper A

Total Complexity 60
Dependencies 4
Dependents 17
Total lines 466
Lines of code 257
Logical lines of code 145
Comment lines 122
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
prepare_hub_configs_response()
A
48 9 34
check_and_save_configs_to_hub()
S
55 7 19
fetch_current_configs()
S
51 6 27
insert_to_hub()
S
49 5 33
update_on_hub()
S
52 5 25
active_config_from_hub_id()
S
56 5 19
clear_config_transient()
S
62 5 11
delete_configs_from_hub()
S
56 4 18
send_request()
S
59 2 16
get_configs()
S
62 2 11
delete_hub_removed_configs()
S
72 2 6
get_fresh_frontend_configs()
S
66 2 8
set_clear_active_flag()
S
70 2 6
check_remove_active_flag()
S
66 2 8
add_configs_to_hub()
S
68 1 7
format_hub_config_to_save()
S
65 1 9